<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>点击高亮</title>
</head>
<style>
    *,*::before,*::after{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    a{
        display: block;
        border: 1px solid;
        width: 100px;
        height: 100px;
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
    }
</style>
<body>
    <a href=""></a>
</body>
<style>
    
</style>
<script>
    var a = document.querySelector('a');
    a.onclick = function(){
        return ;
    }
</script>
</html>